package com.dq.controller.in.goods.stock;

import com.dq.controller.in.base.BaseAdminQuery;
import com.dq.domain.goods.stock.StockChangeRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuhui
 * @date 2019/11/27 0027 16:14:29
 */
@Data
@ApiModel("库存变动查询实体")
public class StockChangeRecordQuery extends BaseAdminQuery {
    @ApiModelProperty("门店ID, 不传默认是登录账号门店下")
    public Long orgId;

    @ApiModelProperty("商品名称")
    public String goodsName;
    @ApiModelProperty("商品编号")
    public String goodsNo;
    @ApiModelProperty("分类ID")
    public Long categoryId;
    @ApiModelProperty("操作人员")
    protected Long updateUserId;

    @ApiModelProperty("库存变动方向")
    public StockChangeRecord.ChangeDirection changeDirection;
    @ApiModelProperty("库存变动类型")
    public StockChangeRecord.ChangeType changeType;

    @ApiModelProperty("时间检索开始（库存变更记录时间）")
    public Long timeBegin;
    @ApiModelProperty("时间检索结束（库存变更记录时间）")
    public Long timeEnd;
}
